package com.sqx.modules.goods.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sqx.modules.goods.dao.GoodsAndSkuDao;
import com.sqx.modules.goods.entity.GoodsAndSku;
import com.sqx.modules.goods.service.GoodsAndSkuService;
import org.springframework.stereotype.Service;

/**
 * @description：TODO
 * @author： qiao
 * @create： 2024/10/16 16:29
 */
@Service
public class GoodsAndSkuServiceImpl extends ServiceImpl<GoodsAndSkuDao, GoodsAndSku> implements GoodsAndSkuService {
    @Override
    public void deleteByGoodsId(Long goodId) {
        baseMapper.deleteBySkuId(goodId);
    }
}
